<%@page contentType="text/html; charset=UTF-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<%
	String path =request.getContextPath();
%>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link href="<%=path%>/css/main.css" rel="stylesheet" type="text/css" />
    <script language="javascript" type="text/javascript" src="<%=path%>/js/validatorTool.js"></script>
	<script language="javascript" type="text/javascript">
		
	</script>
</head>
<body class="fullbody">
<!--        <div class="content">-->
            <div class="context">
                <div class="position">
                    <div class="tposi">当前位置：
                       	<a href="javascript:changeMenu(1,'<%=path%>/infopub/pubmain?menuid=1');"class="linkstyle">首页</a>&nbsp;&gt;&gt;&nbsp;
                         <a href="javascript:changeMenu(3,'');" class="linkstyle">我的订单\合同</a>&nbsp;&gt;&gt;&nbsp; 
                        <span class="curposition">订单执行状态维护</span>
                    </div>
                    <div class="help">
						<a href="javascript:void(null);" onclick="doHelp('<%=request.getContextPath()%>/help/html/DDZXZTWH.html');" class="linkstyle">帮助</a>
					</div>
                </div>
                <div class="margin8"></div>
                <div class="subpage_title">
                    <div class="title_index">
                        <img src="<%=path%>/images/common/dot03.gif" alt="" border="0" />&nbsp;订单执行状态维护</div>
                </div>
                <div class="margin20"></div>
                <div class="subpage_bidlist">
                    <div class="subpage_search">
                    	<form name="form1" action="<%=path%>/order/qryOrderExeStatus" method="post">
							<table border="0" cellpadding="0" cellspacing="0" class="searchtable">
				            	<tr>
				                	<td valign="middle" class="w_1"> 采购订单号：</td>
				                    <td valign="middle" class="w_2">
				                    	<input id="qryOrderNo" name="qryOrderNo" type="text" value="${qryOrderNo}" class="searchtext" />
				                    </td>
				                    <td valign="middle" class="w_1">采购公司：</td>
				                    <td valign="middle" class="w_2">
				                    	<input id="qryPurCorp" name="qryPurCorp" type="text" value="${qryPurCorp}" class="searchtext" />
				                    </td>
				                </tr>
				                <tr>
				                 	<td valign="middle" class="w_1">订单日期：</td>
				                	<td valign="middle" class="w_2">
				                    	<input id="qryOrderBeginDate" name="qryOrderBeginDate" type="text"  
				                    		onclick="return showCalendar('qryOrderBeginDate', 'y-mm-dd');" 
					                    	readonly="readonly" value="${qryOrderBeginDate}" class="searchdate" />&nbsp;至&nbsp;
				                    	<input id="qryOrderEndDate" name="qryOrderEndDate" type="text"
											onclick="return showCalendar('qryOrderEndDate', 'y-mm-dd');" 
				                    		onclick="WdatePicker();" readonly="readonly" value="${qryOrderEndDate}" class="searchdate" />
				                	</td>
				                    <td valign="middle" class="w_1"> 产品名称：</td>
				                	<td valign="middle" class="w_2"  >
				                    	<input id="qryProdName" name="qryProdName" type="text" value="${qryProdName}" class="searchtext" />
				                	</td>
				             	</tr>
				 				<tr><td colspan="4">&nbsp;</td></tr>
				               	<tr>
				                	<td valign="middle" colspan="4" align="center">
				                    	<input type="submit" class="btnscs" value="查询" />&nbsp;&nbsp;
				                    	<input type="button" class="btnscs" value="取消" onclick="resetData()"/>&nbsp;&nbsp;
				                	</td>
				              	</tr>            	
				        	</table>
			        	</form>
                    </div>
                    <div class="margin20"></div>
                    <div>
                        <table class="tableCss" cellpadding="0" cellspacing="0">
                            <tr class="titleTr">
                                <th width="118px">采购订单号</th>
                                <th width="148px">采购公司</th>
                                <th width="103px">订单日期</th>
                                <th width="174px">开票供应商</th>
                                <th width="198px">收付款协议</th>
                                <th width="59px" class="th1">操作</th>
                            </tr>
							<c:if test="${orderForms!=null}">
								<c:forEach items="${orderForms}" var="orderForm" varStatus="index">
									<c:if test="${orderForm.index % 2==1}">
										<tr align="left" class="contTr-old"  >
									</c:if>
									<c:if test="${orderForm.index % 2==0}">
										<tr align="left" class="contTr-even">
									</c:if>
										<td class="td1">${orderForm.billNo}&nbsp;</td>
										<td class="td1">${orderForm.purCorpName}&nbsp;</td>
										<td class="td1"><font class="words-blue">${orderForm.ordeDate}</font>&nbsp;</td>
										<td class="td1">${orderForm.invoiceSuppName}&nbsp;</td>
										<td class="td1">${orderForm.protocolName}&nbsp;</td>
										<td class="td1">
									     	<a class="ebvpLinkStyle" href="<%=request.getContextPath()%>/order/exeStatusEdit?orderPk=${orderForm.pkOrder}&pkWebOrder=${orderForm.pkWebOrder}">维护</a>
									    </td>
									</tr>
								</c:forEach>
							</c:if>
                        </table>
                    </div>
                    <div class="margin8"></div>
                    <div class="margin8">
                    	<table align="left">
							<tr class="title">
								<td>
									<div id="message" class="msgcolor">${system_err_msg}</div>
								</td>
							</tr>
						</table>
					</div> 
                </div>
            </div>
        <div class="margin20"></div>
<!--    </div>-->
</body>
</html>
